Skip to main content

First Time

Manual Framework Integration (First Time)​

This document explains how to integrate the iOS SDK manually using frameworks for the first time, without using Swift Package Manager.


Prerequisites​

  • SDK package containing required .xcframework files
  • Access to the application target settings in Xcode

Steps to Integrate the SDK​

  1. Add SDK frameworks

    • Add all provided Nuclei .xcframework files to the App Target.
    • Set all frameworks to Embed & Sign.

    Add Nuclei xcframeworks

  2. Clean the build

    • Select Product → Clean Build Folder in Xcode, or use Shift + Cmd + K.
  3. Delete DerivedData

    • Click Xcode → Settings from the top menu.
    • Open the Locations tab.
    • Click the arrow icon next to Derived Data to open it in Finder.
    • Delete all contents inside the DerivedData folder.
  4. Build the application

    • Build and run the app.
    • Verify that the build completes without errors.